package com.zygh.interactiveplatform.common.constant;

/**
 * 员工常量类
 * 3001-3999
 */
public class EmployeeResponseCodeConst extends ResponseCodeConst {


    public static final EmployeeResponseCodeConst UPDATE_FAILED = new EmployeeResponseCodeConst(3001, "员工更新失败！");
    public static final EmployeeResponseCodeConst DELETE_FAILED = new EmployeeResponseCodeConst(3002, "员工删除失败！");
    public static final EmployeeResponseCodeConst DEPT_ROLEADD_EXIST = new EmployeeResponseCodeConst(3003, "权限新增失败!");
    public static final EmployeeResponseCodeConst LOGIN_FAILED = new EmployeeResponseCodeConst(3004, "用户名或密码错误!");
    public static final EmployeeResponseCodeConst ROLE_UPDATE_EXIST = new EmployeeResponseCodeConst(3005, "权限修改失败!");
    public static final EmployeeResponseCodeConst LOGIN_NAME_EXISTS = new EmployeeResponseCodeConst(3006, "登录名已存在!");
    public static final EmployeeResponseCodeConst ROLE_DELETE_EXIST = new EmployeeResponseCodeConst(3007, "权限删除失败!");
    public static final EmployeeResponseCodeConst PASSWORD_ERROR = new EmployeeResponseCodeConst(3008, "密码输入有误，请重新输入");
    public static final EmployeeResponseCodeConst DEPT_ADD_EXIST = new EmployeeResponseCodeConst(3009, "部门新增失败!");
    public static final EmployeeResponseCodeConst DEPT_UPDATE_EXIST = new EmployeeResponseCodeConst(3010, "部门修改失败!");
    public static final EmployeeResponseCodeConst DEPT_DELETE_EXIST = new EmployeeResponseCodeConst(3011, "部门删除失败!");
    public static final EmployeeResponseCodeConst LOGIN_USER = new EmployeeResponseCodeConst(3017, "该用户已禁用,请联系管理员!");


    public static final EmployeeResponseCodeConst USER_REGISTER = new EmployeeResponseCodeConst(3015, "添加用户错误!");


    public static final EmployeeResponseCodeConst ADD_EXIST = new EmployeeResponseCodeConst(3012, "新增失败!");
    public static final EmployeeResponseCodeConst UPDATE_EXIST = new EmployeeResponseCodeConst(3013, "修改失败!");
    public static final EmployeeResponseCodeConst DELETE_EXIST = new EmployeeResponseCodeConst(3016, "删除失败!");
    public static final EmployeeResponseCodeConst ID_EXIST = new EmployeeResponseCodeConst(3017, "id错误!");
    public static final EmployeeResponseCodeConst NEWPASSWORD_ERROR = new EmployeeResponseCodeConst(3018, "新密码不能为空!");
    public static final EmployeeResponseCodeConst OLDPASSWORD_ERROR = new EmployeeResponseCodeConst(3019, "旧不能为空!");
    public static final EmployeeResponseCodeConst EMPTY_INFORMATION_ERROR = new EmployeeResponseCodeConst(3014, "查询信息为空");


    public EmployeeResponseCodeConst(int code, String msg) {
        super(code, msg);
    }
}
